<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1">
    <title>记忆课堂</title>
    <link href="/lib/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="/stylesheets/base.css">
</head>
<body>
<div id="app">
    <div class="bar clearfix">
        <div class="container">
            <div class="pull-left">
                <a href="/"><span class="back">Home</span></a>
            </div>
            <span class="bar-en">user login</span>
        </div>
    </div>

    <div class="container mt20 col-md-6 col-md-offset-3">
        <form action="" class="form-horizontal">
            <div class="form-group">
                <div class="col-md-8 col-md-offset-4 col-xs-8 col-xs-offset-4 text-right">
                    <span class="text-warning">登录后可以与其他博友互动！</span>
                </div>
            </div>
            <div class="form-group">
                <label for="name" class="col-md-4 col-xs-4 label-control text-center">用 户 名</label>
                <div class="col-md-8 col-xs-8">
                    <input type="text" id="name" v-model="userInfo.name" class="form-control" placeholder="请输入用户名">
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-md-4 col-xs-4 label-control text-center">密　  &nbsp;码</label>
                <div class="col-md-8 col-xs-8">
                    <input type="password" id="password" v-model="userInfo.password" class="form-control" placeholder="请输入密码">
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-8 col-xs-8 col-md-offset-4 col-xs-offset-4">
                    <button @click.prevent="login" class="btn btn-primary">立即登录</button>
                    <a href="/forgetPassword" class="pull-right">忘记密码？</a>
                </div>
            </div>
            <div class="form-group">
                    <div class="col-md-8 col-xs-8 col-md-offset-4 col-xs-offset-4 register-btn">
                       <div class="register-btn-inner text-right">
                            没有账号？<a href="/user/register.html">点此注册</a>
                       </div>
                    </div>
                </div>
        </form>
    </div>


</div>


<script type="text/javascript" src="/lib/vue/vue.min.js"></script>
<script src="/lib/vue/vue-resource.min.js"></script>
<script src="/lib/layer/jquery.js"></script>
<script src="/lib/layer/layer.js"></script>
<script src="/scripts/login.js"></script>
</body>
</html>